package com.sms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

//代销商品
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("ConsignmentProducts")
public class ConsignmentProducts {
    @TableId(type = IdType.AUTO)
    private int consignmentID;
    private String consignmentStatus;
    private double profitMargin;//利润率

    private int productID;
    @TableField(exist = false)
    private Products products;
}